﻿namespace RpcCentral.Service.TcpService
{
    internal class TcpService
    {
        public static void Start()
        {
            SocketTcpServer.Config.SocketConfig.DefaultAllot = new TcpAllot();
            SocketTcpServer.Config.SocketConfig.DefaultServerPort = 983;
            SocketTcpServer.Config.SocketConfig.SocketEvent = new TcpSocketEvent();
            TcpRouteService.InitRoute();
            SocketTcpServer.SocketTcpServer.Init();
        }
    }
}
